import numpy as np
import torch
import torch.optim as optim
import torch.nn as nn
from torch.autograd import Variable
from torch.nn import functional as F
import time
import re
import os
import sys
import cv2
from unet import UNet
from data.dataset import Data
import argparse

from matplotlib import pyplot as plt


d = np.array([1,2,3])
t = torch.from_numpy(d).float()
print(t)
print(torch.ones(t.size()))
print(t.mean())
print(t *t )
print(t.mul(t))
print( t /t)